<template>
  <div>
    <!-- 文章列表 -->
    <ArticleItem
    v-for="obj,index in arr"
    :key="index"
    :item="obj"
    @removeE="removeItem"
    ></ArticleItem>
  </div>
</template>

<script>
import ArticleItem from '@/components/ArticleItem.vue'
export default {
  props: {
    arr: {
      type: Array
    }
  },
  methods: {
    removeItem (item, action) {
      this.$emit('re', item, action)
    }
  },
  components: {
    ArticleItem
  }
}
</script>
